package com.erp.entity.goods;

/**
 * 品牌分类
 */
public class BrandCategory implements TreeNode {
    /**
     * 主键（自增）
     */
    private Integer brandCategoryId;

    /**
     * 品牌分类名称
     */
    private String brandCategoryName;

    /**
     * 上级分类ID
     */
    private Integer brandCategoryParentId;

    /**
     * 分类级别（最高三级）
     */
    private Integer brandCategoryType;

    /**
     * 公司ID
     */
    private Integer companyId;

    public Integer getBrandCategoryId() {
        return brandCategoryId;
    }

    public void setBrandCategoryId(Integer brandCategoryId) {
        this.brandCategoryId = brandCategoryId;
    }

    public String getBrandCategoryName() {
        return brandCategoryName;
    }

    public void setBrandCategoryName(String brandCategoryName) {
        this.brandCategoryName = brandCategoryName;
    }

    public Integer getBrandCategoryParentId() {
        return brandCategoryParentId;
    }

    public void setBrandCategoryParentId(Integer brandCategoryParentId) {
        this.brandCategoryParentId = brandCategoryParentId;
    }

    public Integer getBrandCategoryType() {
        return brandCategoryType;
    }

    public void setBrandCategoryType(Integer brandCategoryType) {
        this.brandCategoryType = brandCategoryType;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    @Override
    public Integer getId() {
        return brandCategoryId;
    }

    @Override
    public String getLabel() {
        return brandCategoryName;
    }

    @Override
    public Integer getParentId() {
        return brandCategoryParentId;
    }
}
